package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PtfaultmonitorDao;
import com.bootdo.screen.domain.PtfaultmonitorDO;
import com.bootdo.screen.service.PtfaultmonitorService;



@Service
public class PtfaultmonitorServiceImpl implements PtfaultmonitorService {
	@Autowired
	private PtfaultmonitorDao ptfaultmonitorDao;
	
	@Override
	public PtfaultmonitorDO get(Integer id){
		return ptfaultmonitorDao.get(id);
	}
	
	@Override
	public List<PtfaultmonitorDO> list(Map<String, Object> map){
		return ptfaultmonitorDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ptfaultmonitorDao.count(map);
	}
	
	@Override
	public int save(PtfaultmonitorDO ptfaultmonitor){
		return ptfaultmonitorDao.save(ptfaultmonitor);
	}
	
	@Override
	public int update(PtfaultmonitorDO ptfaultmonitor){
		return ptfaultmonitorDao.update(ptfaultmonitor);
	}
	
	@Override
	public int remove(Integer id){
		return ptfaultmonitorDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ptfaultmonitorDao.batchRemove(ids);
	}
	
}
